<template>
    <div id="app">
        <nav-bar :msg1='msg1' :msg2='msg2' :isrecord="false"/>
        <div class="success">
            <i class="cubeic-warn error-ico" style="color: #f00"></i>
            <div class='title'>提交失败</div>
            <div>很抱歉您的问题提交失败。</div>
            <div>请您检查网络，或尝试再次提交。</div>
            <cube-button  class="successbutton"   @click="closePage">重新提交</cube-button>
        </div>
    </div>
</template>

<script>
    import NavBar from '@/components/customerService/NavBar.vue'


    export default {
        components: {
            NavBar
        },
        name: 'app',
        data(){
            return {
                msg1: '客服帮助中心',
                msg2: '返回',
            }
        },
        props:{
            iserror:{
                type: Boolean,
                default: false
            }
        },
        mounted(){
        },
        methods: {
            closePage(){
               //`点击重新提交回到H5页面，记住用户之前填写的内容，可以再次提交。`
                if(this.iserror){
                    this.$emit('update:iserror', false)
                }
            }
        }
    }
</script>
<style>
    .error-ico{
        font-size: 200px !important;
        color:red !important;
        display: block !important;
        margin-top: 100px;
    }
</style>
